﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Search
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div class="genre">
        <h3><em><%: Model.CurrentGenre.Name%></em>产品</h3>

        <ul id="product-list">
            <% foreach (var product in Model.Products) { %>

            <li>
                <a href="<%: Url.Action("Details", new { id = product.Id }) %>">
                    <img alt="<%: product.Name %>" src="<%: product.ArtUrl %>" />
                    <span><%: product.Name%></span>
                </a>
            </li>

            <% } %>
        </ul>

    </div>

</asp:Content>
